home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / geowindo / samplevi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-28  |  1.9 KB  |  74 lines

  1. // SampleView.h : interface of the CSampleView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_SAMPLEVIEW_H__91A7D122_DE5A_11D1_9CB1_000000000000__INCLUDED_)
  6. #define AFX_SAMPLEVIEW_H__91A7D122_DE5A_11D1_9CB1_000000000000__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. class CSampleView : public CFormView
  13. {
  14. protected: // create from serialization only
  15.     CSampleView();
  16.     DECLARE_DYNCREATE(CSampleView)
  17.  
  18. public:
  19.     //{{AFX_DATA(CSampleView)
  20.     enum{ IDD = IDD_SAMPLE_FORM };
  21.     CTabCtrl    m_TabCtrl;
  22.     //}}AFX_DATA
  23.  
  24. // Attributes
  25. public:
  26.     CSampleDoc* GetDocument();
  27.  
  28. // Operations
  29. public:
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CSampleView)
  34.     public:
  35.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  36.     virtual void OnInitialUpdate();
  37.     protected:
  38.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. public:
  43.     virtual ~CSampleView();
  44. #ifdef _DEBUG
  45.     virtual void AssertValid() const;
  46.     virtual void Dump(CDumpContext& dc) const;
  47. #endif
  48.  
  49. protected:
  50.     CDialog m_TabPage1;
  51.     CDialog m_TabPage2;
  52.     CDialog m_TabPage3;
  53.  
  54. // Generated message map functions
  55. protected:
  56.     //{{AFX_MSG(CSampleView)
  57.     afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
  58.     afx_msg void OnSelchangingTab(NMHDR* pNMHDR, LRESULT* pResult);
  59.     //}}AFX_MSG
  60.     DECLARE_MESSAGE_MAP()
  61. };
  62.  
  63. #ifndef _DEBUG  // debug version in SampleView.cpp
  64. inline CSampleDoc* CSampleView::GetDocument()
  65.    { return (CSampleDoc*)m_pDocument; }
  66. #endif
  67.  
  68. /////////////////////////////////////////////////////////////////////////////
  69.  
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  72.  
  73. #endif // !defined(AFX_SAMPLEVIEW_H__91A7D122_DE5A_11D1_9CB1_000000000000__INCLUDED_)
  74.